<template>
<van-tabbar  route>
  <van-tabbar-item to="/home"  icon="shouye" icon-prefix="icon">首页</van-tabbar-item>
  <van-tabbar-item to="/cate" icon="fenlei" icon-prefix="icon">分类</van-tabbar-item>
  <van-tabbar-item to="/cart" icon="V" icon-prefix="icon"
  :badge ="$store.state.cart.items.length||''"
  >购物车</van-tabbar-item>
  <van-tabbar-item to="/about"  icon="wode" icon-prefix="icon">我的</van-tabbar-item>
</van-tabbar>
</template>
<style lang="scss" scoped>
 /deep/.icon{
  font-size: 30px;
}
</style>
